package com.example.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.system.api.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 会议室申请管理对象 meeting_application
 * 
 * @author 何曼伶
 */
public class MeetingApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 申请部门ID */
    @Excel(name = "申请部门ID")
    private Long deptId;

    /** 申请部门名称 */
    @Excel(name = "申请部门名称")
    private String deptName;

    /** 会议题目 */
    @Excel(name = "会议题目")
    private String meetingTitle;

    /** 会议室名称ID */
    @Excel(name = "会议室名称ID")
    private Long meetingRoomId;

    @Excel(name = "会议室名称")
    private String meetingRoomName;

    /** 计划开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" )
    @Excel(name = "计划开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date plannedStartTime;

    /** 计划结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "计划结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date plannedEndTime;

    /** 参会人数 */
    @Excel(name = "参会人数")
    private Long attendeeCount;

    /** 开会主要内容 */
    @Excel(name = "开会主要内容")
    private String meetingContent;

    /** 是否需要会标 */
    @Excel(name = "是否需要会标")
    private Integer needBanner;

    /** 会标内容，最大30个字符 */
    @Excel(name = "会标内容，最大30个字符")
    private String bannerContent;

    /** 会议类型，枚举类型，可选值为“视频会议”或“座谈” */
    @Excel(name = "会议类型，枚举类型，可选值为“视频会议”或“座谈”")
    private Integer meetingType;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applicant;

    /** 是否投屏 */
    @Excel(name = "是否投屏")
    private Integer needScreen;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;
    /**部门**/

    private SysDept dept;
    /** 上传的会议材料，存储文件路径或文件名 */
    @Excel(name = "上传的会议材料，存储文件路径或文件名")
    private String meetingMaterials;

    /** 上传的会议议程，存储文件路径或文件名 */
    @Excel(name = "上传的会议议程，存储文件路径或文件名")
    private String meetingAgenda;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private Long status;

    public String getMeetingRoomName() {
        return meetingRoomName;
    }

    public void setMeetingRoomName(String meetingRoomName) {
        this.meetingRoomName = meetingRoomName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setMeetingTitle(String meetingTitle) 
    {
        this.meetingTitle = meetingTitle;
    }

    public String getMeetingTitle() 
    {
        return meetingTitle;
    }
    public void setMeetingRoomId(Long meetingRoomId) 
    {
        this.meetingRoomId = meetingRoomId;
    }

    public Long getMeetingRoomId() 
    {
        return meetingRoomId;
    }
    public void setPlannedStartTime(Date plannedStartTime) 
    {
        this.plannedStartTime = plannedStartTime;
    }

    public Date getPlannedStartTime() 
    {
        return plannedStartTime;
    }
    public void setPlannedEndTime(Date plannedEndTime) 
    {
        this.plannedEndTime = plannedEndTime;
    }

    public Date getPlannedEndTime() 
    {
        return plannedEndTime;
    }
    public void setAttendeeCount(Long attendeeCount) 
    {
        this.attendeeCount = attendeeCount;
    }

    public Long getAttendeeCount() 
    {
        return attendeeCount;
    }
    public void setMeetingContent(String meetingContent) 
    {
        this.meetingContent = meetingContent;
    }

    public String getMeetingContent() 
    {
        return meetingContent;
    }
    public void setNeedBanner(Integer needBanner) 
    {
        this.needBanner = needBanner;
    }

    public Integer getNeedBanner() 
    {
        return needBanner;
    }
    public void setBannerContent(String bannerContent) 
    {
        this.bannerContent = bannerContent;
    }

    public String getBannerContent() 
    {
        return bannerContent;
    }
    public void setMeetingType(Integer meetingType)
    {
        this.meetingType = meetingType;
    }

    public Integer getMeetingType()
    {
        return meetingType;
    }
    public void setApplicant(String applicant) 
    {
        this.applicant = applicant;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getApplicant()
    {
        return applicant;
    }
    public void setNeedScreen(Integer needScreen) 
    {
        this.needScreen = needScreen;
    }

    public Integer getNeedScreen() 
    {
        return needScreen;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setMeetingMaterials(String meetingMaterials) 
    {
        this.meetingMaterials = meetingMaterials;
    }

    public String getMeetingMaterials() 
    {
        return meetingMaterials;
    }
    public void setMeetingAgenda(String meetingAgenda) 
    {
        this.meetingAgenda = meetingAgenda;
    }

    public String getMeetingAgenda() 
    {
        return meetingAgenda;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public SysDept getDept() {
        return dept;
    }

    public void setDept(SysDept dept) {
        this.dept = dept;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("meetingTitle", getMeetingTitle())
            .append("meetingRoomId", getMeetingRoomId())
            .append("plannedStartTime", getPlannedStartTime())
            .append("plannedEndTime", getPlannedEndTime())
            .append("attendeeCount", getAttendeeCount())
            .append("meetingContent", getMeetingContent())
            .append("needBanner", getNeedBanner())
            .append("bannerContent", getBannerContent())
            .append("meetingType", getMeetingType())
            .append("applicant", getApplicant())
            .append("needScreen", getNeedScreen())
            .append("remarks", getRemarks())
            .append("meetingMaterials", getMeetingMaterials())
            .append("meetingAgenda", getMeetingAgenda())
            .append("status", getStatus())
            .toString();
    }
}
